package com.test2.bean;

/**
 * 麋鹿具体类
 * 承猎物抽象类
 *
 * @author Cc
 * 2024-03-12
 */
public class Elk extends Prey {
    public Elk(String name) {
        super(name);
    }

    @Override
    void run() {
        System.out.println(this.name + "正在疯狂撒丫子逃跑");
    }
}
